package com.aefan.springcloud.alibaba.myhandler;

import com.aefan.springcloud.entities.CommonResult;
import com.alibaba.csp.sentinel.slots.block.BlockException;

/**
 * @Author: jxl
 * @Date: 2021/9/21 上午9:37
 */
public class CustomerHandler {

    public static CommonResult handlerException(BlockException exception){
        return new CommonResult(4444,"按客户自定义，global handlerException--------1");
    }


    public static CommonResult handlerException2(BlockException exception){
        return new CommonResult(4444,"按客户自定义，global handlerException---------2");
    }

}
